//
//  CDCustomButton.m
//  CuriosityDaily3
//
//  Created by panzhi on 16/9/25.
//  Copyright © 2016年 theBestTeam. All rights reserved.
//

#import "CDCustomButton.h"

@implementation CDCustomButton

- (void)drawRect:(CGRect)rect {
    UIBezierPath *path = [UIBezierPath bezierPathWithRoundedRect:CGRectMake(0, 3, rect.size.width, rect.size.height-6) cornerRadius:rect.size.height-6];
    [[UIColor colorWithHex:0xffcd34] setStroke];
    [path stroke];
}

@end
